package com.panfeng.xcloud.boss.provider.assets.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GetSysOpeningQuantBotListReqDTO implements Serializable {

    @NotNull(message = "用户ID不能为null")
    @NotEmpty(message = "用户ID不能为空")
    @ApiModelProperty("用户账户ID")
    private String userId;

    @NotNull(message = "交易所类型不能为null")
    @ApiModelProperty("交易所类型(0.okex 1.huobi 2.binance)")
    private Integer exchangeType;

}
